package com.jy.rhin.model.body.jiwangshi;


import com.jy.rhin.infra.cda.EDataElement;
import com.jy.rhin.infra.cda.XPath;
import com.jy.rhin.infra.cda.XValid;
import com.jy.rhin.model.CodeObject;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class JiaZuShi {
    //家庭关系
    @XPath(path = "/section/entry/organizer/subject/relatedSubject/code"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE02_10_024_00))
    CodeObject jiaTingGX;

    //家族性疾病
    @XPath(path = "/section/entry/organizer/component/observation/value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE02_10_095_00))
    CodeObject jiaZuXJB;
}
